package org.mall.modules.shoprecommond.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.mall.modules.shoprecommond.entity.ShopRecommond;
import org.mall.modules.shoprecommond.mapper.ShopRecommondMapper;
import org.mall.modules.shoprecommond.service.IShopRecommondService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: 商品推荐
 * @Author: jeecg-boot
 * @Date:   2019-12-30
 * @Version: V1.0
 */
@Service
public class ShopRecommondServiceImpl extends ServiceImpl<ShopRecommondMapper, ShopRecommond> implements IShopRecommondService {

    @Resource
    private ShopRecommondMapper recommondMapper;

    @Override
    public ShopRecommond getByShopId(String shgopId) {
        return recommondMapper.getByShopId(shgopId);
    }
}
